package com.susallwave.srcb.schedule;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component("syncGreenDatahart")
public class SyncGreenDataChart extends RetryDistributedLock{
    @Override
    protected String taskName() {
        return "syncGreenDatahart";
    }

    @Override
    protected void doBusiness() {
        // 具体业务
        log.info("【TaskA】完成核心业务");
    }
}
